#!/bin/bash
set -u

label="tw.greenhotel.notebooklm-batch-helper"
/bin/launchctl bootout "gui/$UID/$label" 2>/dev/null || true
/usr/bin/osascript -e 'display notification "NotebookLM 助手已停止；下次登入時會再次自動啟動。" with title "NotebookLM Batch Studio"'
